﻿using System;
using System.Collections.Generic;
using System.Text;
using Pay.TO;

namespace Pay.DTO {
	/// <summary>
	/// 支付信息表：mc_PayInfo
	/// </summary>
	[Serializable]
	public class pay_info_dto {
		public pay_info_dto() {
            orders = new List<order_dto>();
		}

		/// <summary>
		/// 支付信息id
		/// </summary>
		public long id { get; set; }
		/// <summary>
		/// 单号
		/// </summary>
		public string order_no { get; set; }
		/// <summary>
		/// 通道
		/// </summary>
		public PayChannel pay_channel { get; set; }
		/// <summary>
		/// 支付类型
		/// </summary>
		public PayType pay_type { get; set; }
		/// <summary>
		/// 支付方式：微信扫码支付WXPAY_QR，支付宝扫码支付ALIPAY_QR，京东扫码支付JDPAY_QR,银联扫码支付UNIONPAY_QR，QQ钱包扫码支付QQ_QR，
		/// 微信付款码支付WXPAY_MICRO,支付宝款码支付ALIPAY_MICRO,
		/// 微信公众账号支付WXPAY_JS,支付宝服务窗支付ALIPAY_JS,
		/// 微信APP支付WXPAY_APP,支付宝APP支付ALIPAY_APP,
		/// 银联快捷支付UNIONPAY，B2B网关支付GATEWAY,代付PAYOFF
		/// </summary>
		public string pay_code { get; set; }
		/// <summary>
		/// 支付名称
		/// </summary>
		public string pay_name { get; set; }
		/// <summary>
		/// 结算类型:扫码支付T0,T1到账，代收D0,D1，快捷支付为空，网关支付是银行代码
		/// </summary>
		public string settle_type { get; set; }
		/// <summary>
		/// 支付单号
		/// </summary>
		public string pay_no { get; set; }
		/// <summary>
		/// 交易流水单号（第三方返回）
		/// </summary>
		public string transaction_no { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime create_time { get; set; }
		/// <summary>
		/// 支付时间
		/// </summary>
		public DateTime? pay_time { get; set; }
        /// <summary>
		/// 订单
		/// </summary>
		public List<order_dto> orders { get; set; }
        /// <summary>
        /// 单号Id
        /// </summary>
        public long? boardid { get; set; }
        /// <summary>
        /// 板号Id
        /// </summary>
        public long? plateid { get; set; }
        

    }
}